package com.heima.model.shop.dtos;

import com.heima.model.common.dtos.PageRequestDto;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;


/**
 * @Description: PartsTypeAttributeDto
 * @Version: V1.0
 */
@Data
@ApiModel("PartsTypeAttributeDto")
public class PartsTypeAttributeDto extends PageRequestDto {

        @ApiModelProperty("分类属性id")
    @TableId(value = "id", type = IdType.AUTO)
	private Integer id; //分类属性id



        @ApiModelProperty("配件分类id")
    @TableField("parts_type_id")
	private Integer partsTypeId;//配件分类id

    @ApiModelProperty("表单类型")
    @TableField("form_type")
	private Integer formType;//表单类型

    @ApiModelProperty("属性名称")
    @TableField("name")
	private String name;//属性名称

    @ApiModelProperty("单位")
    @TableField("company")
	private String company;//单位

    @ApiModelProperty("可选项")
    @TableField("options")
	private String options;//可选项

    @ApiModelProperty("默认选项")
    @TableField("detail_option")
	private String detailOption;//默认选项

    @ApiModelProperty("是否搜索")
    @TableField("is_search")
	private Integer isSearch;//是否搜索

    @ApiModelProperty("是否必填")
    @TableField("is_must")
	private Integer isMust;//是否必填


}
